﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>

    <environment include="Development">
        <link href="~/lib/twitter-bootstrap/css/bootstrap.css" rel="stylesheet" />
    </environment>
   @* <environment exclude="Staging">
        <link rel="stylesheet"
              integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu"
              crossorigin="anonymous"
              href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
              asp-fallback-href="~/lib/twitter-bootstrap/css/bootstrap.css"
              asp-fallback-test-class="sr-only"
              asp-fallback-test-property="position"
              asp-fallback-test-value="absolute"
              asp-suppress-fallback-integrity="true"
              >

    </environment>*@

    
    <link href="~/css/student.css" rel="stylesheet" />
</head>
<body>
   
    <div class="container">
        <nav class="navbar navbar-expand-sm bg-black navbar-dark">
            <a class="navbar-brand" asp-controller="home" asp-action="index">
                <img src="~/img/mi.png" width="40" height="40" alt="Alternate Text" />
            </a>
            <button class="btn btn-default navbar-toggle " 
                    type="button" 
                    data-toggle="collapse" 
                    aria-expanded="false"
                    data-target="#collapsibleNavbar">
                <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse"  id="collapsibleNavbar">
                <ul class="navbar-nav">
                    <li data-stopPropagation="true" class="nav-item">
                        <a  class="nav-link" asp-controller="home" asp-action="Index">学生列表</a>
                    </li>
                    <li data-stopPropagation="true" class="nav-item">
                        <a class="nav-link" asp-controller="home" asp-action="Create">添加学生</a>
                    </li>
                </ul>

            </div>

        </nav>

        @RenderBody()
    </div>

    @RenderSection("Script", required: false)

    <script src="~/lib/jquery/jquery.js"></script>
    <script src="~/lib/bootstrap-3.4.1/js/bootstrap.js"></script>
</body>
</html>
